package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author 邵康
* @date 2021/11/25 12:34
 * 查看点赞过的视频要用
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Praise {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("点赞类型  0 视频   1 番剧   2 图文动态       3 评论    4 短评   8 动态")
    private Integer type;
    private Integer targetId;
    private Integer memberId;
    @TableField(fill = FieldFill.INSERT)
    private Long createDate;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
